//
// Created by Murphy on 2021/7/11.
//

/**
 * Material
 * @version 1.0
 * @since 1.0
 * <p>
 * Created by Murphy at 2021/7/11 18:23
 **/
#pragma once

#include "math/Ray.hpp"
#include "math/Math.hpp"

namespace Stitches
{
struct HitRecord;
class Material
{
public:
    virtual bool scatter(const Ray& r_in, const HitRecord& rec, Vec3f & attenuation, Ray& scattered) const = 0;
};

}

